#ifndef CINIFILE
#define CINIFILE
#define INI_BUFFER_SIZE 4096

#include <iostream>
#include <string>
#include <shlwapi.h>
#include "PluginInterface.h"

class CINIFile
{
public:
	CINIFile(HWND nppHandle);
	~CINIFile();

	std::wstring GetSection(const size_t index) const;
	std::wstring GetFindString(const size_t sectionIndex, const size_t index) const;
	std::wstring GetReplaceString(const size_t sectionIndex, const size_t index) const;
	
	void populateComboBox(HWND windowHandle) const;

private:
	static TCHAR* iniFilePath;
	static const std::wstring configFileName;

	std::wstring GetSectionField(wchar_t* sectionName, wchar_t* fieldName) const;
	
};

#endif
